package com.pac.file.bean;

import java.io.File;

/**
 * 文件Bean
 * 
 * @author  chenlujun
 * @version  [版本号, 2014-11-7]
 * @see  [相关类/方法]
 * @since  [产品/模块版本]
 */
public class FileBean {

	//文件ID
	private String id;
	
	//文件愿名
	private String name;
	
	//文件类型
	private String type;
	
	//文件大小，单位B
	private String size;
	
	//创建时间
	private String createDate;
	
	//文件路径
	private String path;
	
	//文件
	private File file;
	
	/**
	 * 图片是否压缩 true :需要压缩 false：不需要压缩
	 */
	private boolean imgCompress=false;
	
	/**
	 * 图片宽度
	 */
	private int imgWidth = 200;

	/**
	 * 图片高度
	 */
	private int imgHeight = 266;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

    public File getFile()
    {
        return file;
    }

    public void setFile(File file)
    {
        this.file = file;
    }

    public String getCreateDate()
    {
        return createDate;
    }

    public void setCreateDate(String createDate)
    {
        this.createDate = createDate;
    }

	public boolean isImgCompress() {
		return imgCompress;
	}

	public void setImgCompress(boolean imgCompress) {
		this.imgCompress = imgCompress;
	}

	public int getImgWidth() {
		return imgWidth;
	}

	public void setImgWidth(int imgWidth) {
		this.imgWidth = imgWidth;
	}

	public int getImgHeight() {
		return imgHeight;
	}

	public void setImgHeight(int imgHeight) {
		this.imgHeight = imgHeight;
	}
    
    
}
